package com.yyh2;

public class Test2 {
    public static void main(String[] args) {
        //创建一个女朋友对象
        Girl girl = new Girl("凤姐",155.0,130.0);
        //访问成员变量
        girl.cook();
        girl.wash();
        girl.show();


    }
}
